package Dao;/*
 *徐韬
 *2021/10/9
 *10:57
 */

import Util.Page;
import entity.Product;

import java.util.List;

public interface productDao {
    List<Product> selectAll(Page page);
    Long selectCount();
    int insert(Product product, Integer cId);
    Product select(Integer pId);
    int update(Product product, Integer cId);
    int delete(Integer id);
}
